package com.ryder.auth.application.convert;

import com.ryder.auth.application.dto.AuthUserDTO;
import com.ryder.auth.domain.entity.AuthUserBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 描述: 用户dto 转换器
 *
 * @author Ryder
 * @version 1.0
 * @since 1.0 // 版本号，指明从哪个版本开始
 * 更新日期: 2025/02/17
 */
@Mapper
public interface AuthUserDTOConvert {

    AuthUserDTOConvert INSTANCE = Mappers.getMapper(AuthUserDTOConvert.class);
    //dto 转换bo
    AuthUserBO convertDtoToBo(AuthUserDTO authUserDto);
    //bo 转换dto
    AuthUserDTO convertBoToDto(AuthUserBO resultBo);
}
